package com.example;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author lv
 * @date 2021/4/18 15:59
 */
@ConfigurationProperties(prefix = "com.example")
public class AutoConfigurationProperties {
    private int id = 1;
    private String name = "lv";

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
